package com.ruoyi.edit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公共课程详情对象 tc_course_package_v2
 * 
 * @author qiufeng
 * @date 2022-11-07
 */
public class CoursePackageV2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private Integer deleted;

    /**  */
    @Excel(name = "")
    private String cover;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createdName;

    /**  */
    @Excel(name = "")
    private String description;

    /**  */
    @Excel(name = "")
    private String name;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 父级ID */
    @Excel(name = "父级ID")
    private String parentId;

    /**  */
    @Excel(name = "")
    private String tags;

    /** 0托班1早教 */
    @Excel(name = "0托班1早教")
    private Long type;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedName(String createdName) 
    {
        this.createdName = createdName;
    }

    public String getCreatedName() 
    {
        return createdName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("created", getCreated())
            .append("deleted", getDeleted())
            .append("cover", getCover())
            .append("createdBy", getCreatedBy())
            .append("createdName", getCreatedName())
            .append("description", getDescription())
            .append("name", getName())
            .append("orderNum", getOrderNum())
            .append("parentId", getParentId())
            .append("tags", getTags())
            .append("type", getType())
            .append("typeName", getTypeName())
            .toString();
    }
}
